﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace GlobalObjects
{
    [DataContract, Newtonsoft.Json.JsonObject(MemberSerialization = Newtonsoft.Json.MemberSerialization.OptIn)]
    public class ContactUs
    {

        [DataMember, Newtonsoft.Json.JsonProperty,]
        public string Fullname { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public string Email { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public string Subject { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public string Message { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public DateTime Time { get; set; }
    }

    [DataContract, Newtonsoft.Json.JsonObject(MemberSerialization = Newtonsoft.Json.MemberSerialization.OptIn)]
    public class Testimonial
    {

        [DataMember, Newtonsoft.Json.JsonProperty,]
        public string Fullname { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public string Email { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public string Subject { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public string Message { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public DateTime Time { get; set; }
    }
}
